#pragma once

namespace cgMath
{
	class cgVector2D
	{
	public:
		cgVector2D();
		cgVector2D(float _x, float _y);
		cgVector2D(const cgVector2D& _inVector2D);

		cgVector2D operator+ (const cgVector2D& _inVector2D) const;
		cgVector2D operator- (const cgVector2D& _inVector2D) const;
		cgVector2D operator* (float multFloat);
		cgVector2D operator/ (float deviFloat);

		cgVector2D& operator= (const cgVector2D& _inVector2D);

		cgVector2D& operator+= (const cgVector2D& _inVector2D);
		cgVector2D& operator-= (const cgVector2D& _inVector2D);
		cgVector2D& operator*= (float multFloat);
		cgVector2D& operator/= (float deviFloat);

		bool operator== (const cgVector2D& _inVector2D);
		bool operator!= (const cgVector2D& _inVector2D);

	public:
		float x;
		float y;
	};

}